<?php 
include 'config.php';

if(isset($_GET['act'])){
	switch($_GET['act']){
		case "add" : $display = 'action.add.php'; break;
		case "update" : $display = 'action.update.php'; break;
		case "view" : $display = 'action.view.php'; break;
		default : $display = 'error.php'; break;
	}
} else {
	$display = 'main.php';
}